package com.czk.model.visitor;

/**
 * @Author:ChenZhangKun
 * @Date: 2020/5/10 15:01
 */
public class Client {
    public static void main(String[] args) {
        ObjectStructure objectStructure=new ObjectStructure();
        Person man=new Man();
        Person woman=new Woman();
        objectStructure.attach(man);
        objectStructure.attach(woman);
        Success success=new Success();
        objectStructure.showResult(success);
    }
}
